package edu.sctu.zhoudie.mouth201505.day20150517.TextOne;

/**
 * Created by user08 on 2015/5/17.
 */
public class MySturcture {
    MyData[] Arraystudents = new MyData[10];


    public MyData[] print(){

        for (int i = 0; i < Arraystudents.length; i++){
            MyData myData = new MyData();
            myData.setNumber(1401+1);
            myData.setName("张三");
            myData.setSex("女");
            myData.setGrade(56+i);
            myData.setAddress("四川");
            Arraystudents[i]= myData;
        }

        return Arraystudents;
    }
}
